package cn.maxhou.service;

import cn.maxhou.entity.Supplier;
import cn.maxhou.entity.SysUser;
import cn.maxhou.util.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SupplierService {
    /**查询所有供应商*/
    List<Supplier> getSupplierList();
    //分页查询
    Page<Supplier> findpage(Supplier entity, Integer pageNo, Integer pageSize);
    /**添加供应商*/
    int save(Supplier entity);

    Supplier getById( Long id);

    int deleteById(Long id);

    Supplier getSupplierBysupCode(String supCode);
}
